<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width = device-width, initial-scale = 1.0, minimum-scale = 1.0, maximum-scale = 1.0, user-scalable = no" />
    <title>{$menu.menu_seo_title|default=$site_seo_title} {$site_name}</title>
    <meta name="keywords" content="{$menu.menu_seo_key|default=$site_seo_keywords}" />
    <meta name="description" content="{$menu.menu_seo_des|default=$site_seo_description}">
    {include file="public:head" /}
</head>


<body>
<div class="current_pos">
		<div class="return"><a href="javascript:history.back(-1);"><i class="fa fa-chevron-left"></i></a></div>
		<h2><span>新闻资讯</span></h2>
        <div class="returnhome"><a href="__ROOT__/"><i class="fa fa-home"></i></a></div>
</div>


<div class=" news_detailcon clearfix"  style="padding:10px 20px">
	<div class="conhead">
    <h4>{$news_title}</h4>
    <p class="article_info"><i class=" fa fa-calendar mr5"></i>{$news_time|date="Y-m-d H:i:s",###}<span class="auto">{$news_source|default="网络"}</span></p>
    </div>
    <div class="article_con">
    	    {$content}
            <div class="pagination-centered">
            {$page}
            </div>
    </div>
    {if condition="!empty($prev)"}
                                    <a href="{:url('home/News/index',array('id'=>$prev['n_id']))}" class="btn btn-primary pull-left">{:lang('last news')}</a>
                                {/if}
                                {if condition="!empty($next)"}
                                    <a href="{:url('home/News/index',array('id'=>$next['n_id']))}" class="btn btn-primary pull-right">{:lang('next news')}</a>
                                {/if}
                                <script type="text/javascript" src="{$yf_theme_path}public/js/qrcode.min.js"></script>
                                <div id="qrcode" style="width: 100px;margin:0 auto"></div>
                                <script type="text/javascript">
                                    var qrcode = new QRCode(document.getElementById("qrcode"), {
                                        width : 100,
                                        height : 100
                                    });
                                    function makeCode () {
                                        qrcode.makeCode("http://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}");
                                    }
                                    makeCode();
                                </script>
    <div class="clearfix"></div>
    
     {if condition="$t_open eq 1"}
		 {include file="public:comment" /}
	 {/if}
</div>

 
{include file="public:footer"/}
</div>
<script language="javascript">
  $(function(){
	  $(".m-menu li").removeClass('current');
      $(".m-menu #mf3").addClass('current');
  });
</script>
{include file="public:scripts"/}
</body>
</html>